﻿using Newtonsoft.Json;

namespace XSot.BitBrowser.LocalApiClient.Model
{
    public class BitBrowserPageList<T>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        [JsonProperty("page")]
        public int Page { get; set; }
        /// <summary>
        /// 分页数量
        /// </summary>
        [JsonProperty("pageSize")]
        public int PageSize { get; set; }
        /// <summary>
        /// 所有数量
        /// </summary>
        [JsonProperty("totalNum")]
        public int TotalCount { get; set; }
        /// <summary>
        /// 数量的集合
        /// </summary>
        [JsonProperty("list")]
        public IList<T> List { get; set; } = new List<T>();
    }
}